package com.gitee.tangmonkmeat;

import com.gitee.tangmonkmeat.common.ResultInfo;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author zwl
 * @date 2020/9/9 19:21
 */
public class SpringApplicationStarter {
	public static void main(String[] args) {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath*:application.xml");

		ResultInfo resultInfo = applicationContext.getBean(ResultInfo.class);

		System.out.println(resultInfo.toString());
	}
}
